package com.adcc.loadsheet.billing.controller;

import io.swagger.annotations.ApiOperation;
import org.apache.ibatis.javassist.NotFoundException;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.GetMapping;

@Controller
public class IndexController {

    @GetMapping(value = {"/index"})
    @ApiOperation(value = "/index", notes = "跳转到首页", httpMethod = "GET")
    public String home(Model model) throws NotFoundException {
        //登录成功后默认统一跳转到首页
        return "index";
    }
}